import request from '@/utils/request'


export function  wasteEfsDict() {
  return request({
    url: '/reference/referenceWasteEfs/dict',
    method: 'get',
  })
}


// 查询废弃EFs列表
export function listReferenceWasteEfs(query) {
  return request({
    url: '/reference/referenceWasteEfs/list',
    method: 'get',
    params: query
  })
}

// 查询废弃EFs详细
export function getReferenceWasteEfs(id) {
  return request({
    url: '/reference/referenceWasteEfs/' + id,
    method: 'get'
  })
}

// 新增废弃EFs
export function addReferenceWasteEfs(data) {
  return request({
    url: '/reference/referenceWasteEfs',
    method: 'post',
    data: data
  })
}

// 修改废弃EFs
export function updateReferenceWasteEfs(data) {
  return request({
    url: '/reference/referenceWasteEfs',
    method: 'put',
    data: data
  })
}

// 删除废弃EFs
export function delReferenceWasteEfs(id) {
  return request({
    url: '/reference/referenceWasteEfs/' + id,
    method: 'delete'
  })
}

// 导出废弃EFs
export function exportReferenceWasteEfs(query) {
  return request({
    url: '/reference/referenceWasteEfs/export',
    method: 'get',
    params: query
  })
}
